package cn.jiahua.hospital.pojo;

import java.io.Serializable;
import java.util.Date;

/***
 *
 */
public class News implements Serializable {
    //新闻id
    private Integer newsId;
    //标题
    private String newsTitle;
    //新闻内容
    private String newsContent;
    //作者
    private String newsAuthor;
    //创建时间
    private Date newsCreateTime;
    //修改时间
    private Date newsModifyTime;

    //get set 方法
    public void setNewsId(Integer newsId) {
        this.newsId = newsId;
    }

    public Integer getNewsId() {
        return this.newsId;
    }

    public void setNewsTitle(String newsTitle) {
        this.newsTitle = newsTitle;
    }

    public String getNewsTitle() {
        return this.newsTitle;
    }

    public void setNewsContent(String newsContent) {
        this.newsContent = newsContent;
    }

    public String getNewsContent() {
        return this.newsContent;
    }

    public void setNewsAuthor(String newsAuthor) {
        this.newsAuthor = newsAuthor;
    }

    public String getNewsAuthor() {
        return this.newsAuthor;
    }

    public void setNewsCreateTime(Date newsCreateTime) {
        this.newsCreateTime = newsCreateTime;
    }

    public Date getNewsCreateTime() {
        return this.newsCreateTime;
    }

    public void setNewsModifyTime(Date newsModifyTime) {
        this.newsModifyTime = newsModifyTime;
    }

    public Date getNewsModifyTime() {
        return this.newsModifyTime;
    }

}
